package com.cham.enums;

/**
 * @author Howl-Xu
 * @version 1.0.0
 * @Description: 请描述一下这个类文件吧
 * @createTime 2020年02月07日 18:10:00
 */
public enum ChamSysCodeEnum {
    SUCCESS("10000", "认证成功"), ERROR01("00000", "认证失败"),
    UPLOAD_HEADIMG_SUCCESS("09999","上传头像成功"),UPLOAD_HEADIMG_FAILED("00001","上传头像失败"),
    SAVE_USERINFO_SUCCESS("09998","保存用户信息成功"),SAVE_USERINFO_FAILED("00002","保存用户信息失败"),
    TOUGAO_SUCCESS("09997","投稿成功"),TOUGAO_FAILED("00003","投稿失败!"),
    DANMU_SHOOT_SUCCESS("09996","弹幕发射成功"),DANMU_SHOOT_FAILED("00004","弹幕发射失败!"),
    ADD_NORMAL_FENZU_SUCCESS("09995","添加普通分组成功"),ADD_NORMAL_FENZU_FAILED("00005","添加普通分组失败!"),
    ADD_XINFAN_FENZU_SUCCESS("09994","添加新番分组成功"),ADD_XINFAN_FENZU_FAILED("00006","添加新番分组失败!"),
    USER_REGISTER_SUCCESS("09993","用户注册成功"),USER_REGISTER_FAILED("00007","用户注册失败!");
    private String chamCode;
    private String chamCodeDesc;
    // 构造方法
    private ChamSysCodeEnum(String chamCode, String chamCodeDesc) {
        this.chamCode = chamCode;
        this.chamCodeDesc = chamCodeDesc;
    }


    public String getChamCode() {
        return chamCode;
    }

    public void setChamCode(String chamCode) {
        this.chamCode = chamCode;
    }

    public String getChamCodeDesc() {
        return chamCodeDesc;
    }

    public void setChamCodeDesc(String chamCodeDesc) {
        this.chamCodeDesc = chamCodeDesc;
    }
}
